package com.ruoyi.tranShort.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班日期对象 short_scheduling_date
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public class ShortSchedulingDate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 排班表id */
    @Excel(name = "排班表id")
    private Long schedulingId;

    /** 周几 */
    @Excel(name = "周几")
    private Long dayOfWeek;

    /** 当天时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "当天时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dayOfTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchedulingId(Long schedulingId) 
    {
        this.schedulingId = schedulingId;
    }

    public Long getSchedulingId() 
    {
        return schedulingId;
    }
    public void setDayOfWeek(Long dayOfWeek) 
    {
        this.dayOfWeek = dayOfWeek;
    }

    public Long getDayOfWeek() 
    {
        return dayOfWeek;
    }
    public void setDayOfTime(Date dayOfTime) 
    {
        this.dayOfTime = dayOfTime;
    }

    public Date getDayOfTime() 
    {
        return dayOfTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulingId", getSchedulingId())
            .append("dayOfWeek", getDayOfWeek())
            .append("dayOfTime", getDayOfTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
